doctype html
html
  head
    title= title
    include common
    link(rel='stylesheet', href='/stylesheets/style.css')
  body
    include top
    div(id='main')
        div(id='sidebar')
            div(class='panel')
                div(class='inner')
                    p    吃了么中文社区
                    p    在这里你可以
                    ul
                        li    与同事讨论午餐吃什么
                        li    讨论技术问题
        div(id='content')
            div(class='panel')
                div(class='header')
                    ol(class='breadcrumb')
                        li
                            a(href='/')主页
                        li(class='active')登录
                div(class='inner')
                    - if (error && error.length)
                        div(class='alert alert-danger')= error
                    form(id='login_form' class='form-horizontal' action='/log' method='post')
                        div(class='control-group')
                            label(class='control-label' for='name')用户名
                            div(class='controls')
                                input(class='input-xlarge' id='name' name='name' size='30' type='text')
                        div(class='control-group')
                            label(class='control-label' for='name')密码
                            div(class='controls')
                                input(class='input-xlarge' id='name' name='password' size='30' type='password')
                        div(class='form-actions')
                            button(type='submit' class='btn btn-info')登录
                            a(id='forgot_password' href='/serch_pass')忘记密码了？
